import http from "@/utils/http/index";

// 轮播图设置
export const bannaSet = (data: any) => {
  return http<any>({
    method: "POST",
    url: `/bjp/api.auth.businessBanna/set`,
    data,
  });
};

// 轮播图列表
export const bannaList = (data: any) => {
  return http<any>({
    method: "GET",
    url: `/bjp/api.auth.businessBanna/getList`,
    data,
  });
};
// 轮播图详情
export const bannerDetails = (data: any) => {
  return http<any>({
    method: "GET",
    url: `/bjp/api.auth.businessBanna/getDetails`,
    data,
  });
};
// 轮播图删除
export const bannerRemove = (data: any) => {
  return http<any>({
    method: "POST",
    url: `/bjp/api.auth.businessBanna/remove`,
    data,
  });
};